<style>
.chitietdv{
    padding:20px 5px;
    
}
.cbox_content img{
    width:150px;
    height:100px;
    float:left;
    margin: 5px;
    border:1px solid #cacaca;
    padding:2px;
}
 

</style>
	
<?php if(!empty($category)){    
      echo   
                        '
								<div class="cbox">
									 <div class="cbox_header clearfix">
                                        <span class="cbox_title block left">							
                                    	   '.$category->title.'								
                                    	</span>
                                        <span class="cbox_bg_midd block left"></span>                
                                    </div>
                                    <!-- noi dung list tin tuc-->
                                    <div class="cbox_content clearfix">
										';
                                        if(!empty($article)){                                            
                                            foreach ($article as $article){
                                            echo '<div  class="clearfix">';
                                               echo '<a href="'.base_url().$article->alias.'.6.html"><img src="'.$article->image.'"/>';
                                               echo '<h3>'.$article->title.'</h3></a>';
                                               echo $article->introtext;
                                               echo '</div>';
                                            }
                                        }else echo '<span style="padding:20px;">Không có tin tức nào</span>';
											
											
                                    echo '
										</ul>
										<p class="phantrang clearfix">
											'.$this->pagination->create_links().'
										</p>
									</div>
                                    <!-- end noi dung list san pham-->
                               
								</div><!-- and đầu thu-->                                
							';
    }
?>
								